package com.ming.service;

import com.ming.entity.User;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * Created by Administrator on 2017/6/14.
 */
public interface UserService {

    List<User> selectAllUser();

    User selectOneUserById(int id);

    int updateOneUser(User user);

    int deleteOneUser(int id);

    int addOneUser(User user);

    List<User> selectByWord(User user);

    List<User> selectUserByPage(Integer pageOffset, Integer pageSize);
    int allPages();

}
